local skel = fk.CreateSkill {
    name = "sj5__zhanding",
    tags = {Skill.Compulsory}
}

Fk:loadTranslationTable{
  ["sj5__zhanding"] = "斩钉",
  [":sj5__zhanding"] = "<b>锁定技</b>，你对手牌数相等的角色使用牌无距离和次数限制。",

  ["$sj5__zhanding1"] = "",
  ["$sj5__zhanding2"] = "",
}

skel:addEffect("targetmod", {
  bypass_times = function(self, player, skill, scope, card, to)
    return card and player:hasSkill(skel.name) and player:getHandcardNum() == to:getHandcardNum()
  end,
  bypass_distances = function(self, player, skill, card, to)
    return card and player:hasSkill(skel.name) and player:getHandcardNum() == to:getHandcardNum()
  end,
})

return skel
